import {
  SETALLREAD,
  DELMSG,
  SETMSGSTATE
} from './actionTypes'

let setAllRead = () => {
  return {
    type: SETALLREAD
  }
}

let delMsg = (index) => {
  return {
    type: DELMSG,
    index
  }
}

let setMsgState = (index) => {
  return {
    type: SETMSGSTATE,
    index
  }
}

export {
  setAllRead,
  delMsg,
  setMsgState
}